package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {
	@GetMapping("/")
	public String home() {
		return "login";
	}

	@RequestMapping("/main")
	public String main() {
		return "frame";
	}
}
